
<?php
//echo phpinfo();
$mem = new Memcache;
$mem->connect('127.0.0.1',11211) or die('error'); 
$mem->set('point', '0|0',0,30); 
/*class Mem{
	private $pointArr = array('point'=>'0|0');
	function __construct(){
		//print_r($this->pointArr);
	}
	function get($p){
		return $this->pointArr[$p];
	}
	function set($key,$value){
		$this->pointArr[$key] = $value;
		return 1;
	}
}
$mem = new Mem;*/
?>